package com.park.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.park.model.InvoiceHistory;

public interface InvoiceHistoryMapper {
    int deleteByPrimaryKey(String userId);

    int insert(InvoiceHistory record);

    int insertSelective(InvoiceHistory record);

    InvoiceHistory selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(InvoiceHistory record);

    int updateByPrimaryKey(InvoiceHistory record);

	List<InvoiceHistory> getInvoiceInfo(@Param("userId")String userId, @Param("startTime")String startTime, @Param("endTime")String endTime, @Param("startPage")int startPage, @Param("pageSize")int pageSize);

	int getInvoiceInfoTotal(@Param("userId")String userId, @Param("startTime")String startTime, @Param("endTime")String endTime);
}